package com.hyz.login.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hyz.login.model.Pharmacy;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zwq
 * @since 2022-11-21
 */
public interface PharmacyService extends IService<Pharmacy> {

    IPage<Pharmacy> findAll(String durgname,Integer page,Integer limit);

    Integer modifyDrugstorenum(String pharmacyName,Integer drugstorenum);

    Integer addDrugstorenum(String pharmacyName,Integer drugstorenum);

    Pharmacy findNumById(Integer pharmacyId);
}
